package bean;

import top.malaoshi.jdbc.annotation.Result;

public class TNotice {

    private String id;
    @Result(column = "from_userid")
    private String fromUserid;
    @Result(column = "to_userid")
    private String toUserid;
    private String msg;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFromUserid() {
        return fromUserid;
    }

    public void setFromUserid(String fromUserid) {
        this.fromUserid = fromUserid;
    }

    public String getToUserid() {
        return toUserid;
    }

    public void setToUserid(String toUserid) {
        this.toUserid = toUserid;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "bean.TNotice{" +
                "id='" + id + '\'' +
                ", fromUserid='" + fromUserid + '\'' +
                ", toUserid='" + toUserid + '\'' +
                ", msg='" + msg + '\'' +
                '}';
    }
}
